package com.zhiwang.planet.di.component

import com.zhiwang.planet.di.ActivityScope
import com.zhiwang.planet.di.module.AccountModule
import com.zhiwang.planet.di.module.AutoDisposeModule
import com.zhiwang.planet.ui.MembershipActivity
import com.zhiwang.planet.ui.gamebase.GameBaseActivity
import dagger.Component

@ActivityScope
@Component(dependencies = [AppComponent::class], modules = [AccountModule::class, AutoDisposeModule::class])
interface PayComponent {

    fun inject(activity: MembershipActivity)
    fun inject(activity: GameBaseActivity)
}